from md5check import md5check
if __name__ == '__main__':
    c = md5check("db/user.db")
    salt = c.gen_salt()
    print salt
    passwd = "hello"
    encode_passed = c.encry(passwd)
    d = c.salt_mix(encode_passed,salt)
    print d
    